package com.library.service;

import com.library.pojo.Category;

import java.util.List;

public interface CategoryService {
    List<Category> getCategory(String name);

    Category getById(Long id);

    void add(Category category);

    void delete(Long id);
}
